// 仓库路由文件
import Layout from '@/layout';
export default {
	path: '/inwarehouse',
	component: Layout,
	redirect: '/inwarehouse/receiving',
	name: 'inwarehouse',
	meta: { title: '入库管理', icon: 'ruku', routerType: 'WMS' },
	children: [
		{
			path: 'receiving',
			name: 'receiving',
			// hidden: true,
			component: () => import('@/views/inwarehouse/receiving'),
			meta: { title: '收货管理', icon: '', anniu: 'receiving_list' }
		},
		{
			path: 'receivingAdd',
			name: 'receivingAdd',
			hidden: true,
			component: () => import('@/views/inwarehouse/receivingAdd'),
			meta: { title: '新增收货', icon: '', anniu: 'receiving_add' }
		},
		{
			path: 'receivingDetail',
			name: 'receivingDetail',
			hidden: true,
			component: () => import('@/views/inwarehouse/receivingAdd'),
			meta: { title: '收货详情', icon: '', anniu: 'receiving_detail' }
		},
		{
			path: 'warehouseEntry',
			name: 'warehouseEntry',
			// hidden: true,
			component: () => import('@/views/inwarehouse/warehouseEntry'),
			meta: { title: '入库管理', icon: '', anniu: 'warehouseEntry_list' }
		},
		{
			path: 'warehouseEntryAdd',
			name: 'warehouseEntryAdd',
			hidden: true,
			component: () => import('@/views/inwarehouse/warehouseEntryAdd'),
			meta: { title: '新增入库', icon: '', anniu: 'warehouseentry_add' }
		},
		{
			path: 'warehouseEntryDetail',
			name: 'warehouseEntryDetail',
			hidden: true,
			component: () => import('@/views/inwarehouse/warehouseEntryAdd'),
			meta: { title: '入库详情', icon: '', anniu: 'warehouseentry_detail' }
		},
		{
			path: 'returnTOwarehouse',
			name: 'returnTOwarehouse',
			// hidden: true,
			component: () => import('@/views/inwarehouse/returnTOwarehouse'),
			meta: { title: '退货入库', icon: '', anniu: 'returnTOwarehouse_list' }
		},
		{
			path: 'returnTOwarehouseAdd',
			name: 'returnTOwarehouseAdd',
			hidden: true,
			component: () => import('@/views/inwarehouse/returnTOwarehouseAdd'),
			meta: { title: '新增退货入库', icon: '', anniu: 'returnTOwarehouse_add' }
		},
		{
			path: 'returnTOwarehouseDetail',
			name: 'returnTOwarehouseDetail',
			hidden: true,
			component: () => import('@/views/inwarehouse/returnTOwarehouseAdd'),
			meta: { title: '退货入库详情', icon: '', anniu: 'returnTOwarehouse_detail' }
		}
	]
};
